// export default () => <div>Welcome to next.js!</div>
import React from 'react'
import {Form, Icon, Input, Button, Checkbox} from 'antd'
import {textApi,postTest} from '../api'

// import userImg from '../static/image/user.jpg'

class Essay extends React.Component{
    constructor(props){
        super(props)
        this.state = {
            
        }
    }

    componentDidMount(){
       
    }


    render(){
        return(
            <div className="container fix_r">
                <section className="text_left fix_h">
                    <div className="header fix_r">
                        <div className="userImg">
                            <img src="../static/image/user.jpg" alt=""/>
                        </div>
                        <div className="userInfor">
                            <p>发布者名字</p>
                            <p>发表时间 <span>收获赞数量</span></p>
                        </div>
                       <p>
                           用一句话介绍自己！
                       </p>
                    </div>
                    <div className="contexts">
                        <div className="topImg"> 
                            <img src="../static/image/banners.jpg" alt=""/>
                        </div>
                        <div className="code">
                            <pre>
                                <code lang="bash">
                                    234
                                </code>
                            </pre>
                        </div>
                    </div>
                    {/* <div>
                        <div className="banners">
                        dsad
                            <img src="https://user-gold-cdn.xitu.io/2019/3/21/1699e117ba6de740?imageView2/1/w/1304/h/734/q/85/format/webp/interlace/1" alt=""/>
                        </div>
                    </div> */}
                </section>
                <section className="text_right">
                    dsdddsd
                </section>
            </div>
            
        )
    }
}


export default Essay
